package com.hanbang.qzzds.view.zhongchou.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

import com.hanbang.qzzds.R;
import com.hanbang.qzzds.appliction.base.view.activity.BaseMainActivity;
import com.hanbang.qzzds.pressenter.zhongchou.ZhongChouPresenter;
import com.hanbang.qzzds.view.zhongchou.iview.IZhongChouView;

/**
 * 作者　　: 李坤
 * 创建时间:2016/9/19　17:04
 * 邮箱　　：496546144@qq.com
 * <p>
 * 功能介绍：
 */

public class ZhongChouActivity extends BaseMainActivity<IZhongChouView, ZhongChouPresenter> implements IZhongChouView {
    public static void startUI(Activity activity) {
        Intent intent = new Intent(activity, ZhongChouActivity.class);
        intent.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
        activity.startActivity(intent);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    public int getContentView() {
        return R.layout.activity_zhong_chou;
    }

    @Override
    public ZhongChouPresenter initPressenter() {
        return new ZhongChouPresenter();
    }

    @Override
    public void clearData() {

    }


    @Override
    public void initView() {
        super.initView();
        toolbar.setTitle("众筹");
    }

    @Override
    public void parseIntent(Intent intent) {

    }

    @Override
    public int currentItem() {
        return 1;
    }


}
